package com.orangelife.mobile.myhouse.entity;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * 认证成功后，获取的该小区的所有产业（房号、停车位）信息
 * Created by 吴格非 on 2015/12/3.
 */
public class IndustryBean implements Serializable {
    /** 认证ID */
    private String certificationID;
    /** 是否有停车位 */
    private String hasParkingSpace;
    private ArrayList<House> houseList;
    /** 有停车位 */
    public static final String NO_PARKING_SPACE = "0";
    /** 无停车位 */
    public static final String HAS_PARKING_SPACE = "1";

    public String getCertificationID() {
        return certificationID;
    }

    public void setCertificationID(String certificationID) {
        this.certificationID = certificationID;
    }

    public String getHasParkingSpace() {
        return hasParkingSpace;
    }

    public void setHasParkingSpace(String hasParkingSpace) {
        this.hasParkingSpace = hasParkingSpace;
    }

    public ArrayList<House> getHouseList() {
        return houseList;
    }

    public void setHouseList(ArrayList<House> houseList) {
        this.houseList = houseList;
    }

    public static class House implements Serializable {
        private String apartmentID;
        private String apartmentName;
        private boolean isSelected;

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        public String getApartmentID() {
            return apartmentID;
        }

        public void setApartmentID(String apartmentID) {
            this.apartmentID = apartmentID;
        }

        public String getApartmentName() {
            return apartmentName;
        }

        public void setApartmentName(String apartmentName) {
            this.apartmentName = apartmentName;
        }
    }
}
